//---------------------------------------------------------------------------

#ifndef classeOrdenadoresH
#define classeOrdenadoresH
#include <vector>
#include <vcl.h>
using namespace std;
//---------------------------------------------------------------------------
class Ordenadores
{
	public:
		Ordenadores();
		~Ordenadores();

		void insere(int);
		void limpar();
		void listar(TStrings*, int);
		void TheVectorIsALie();
		void branch(int, int);
		void merge(int, int);
		void quick(vector<int>*, int, int);
		int partition(vector<int>*, int, int);

		vector<int>* ordenacaoBubble();
		vector<int>* ordenacaoInsertion();
		vector<int>* ordenacaoMerge();
		vector<int>* ordenacaoQuick();
		vector<int>* ordenacaoSelection();

		vector<int>* vetValores;

	private:
		vector<int>* vetBubble;
		vector<int>* vetInsertion;
		vector<int>* vetMerge;
		vector<int>* vetQuick;
		vector<int>* vetSelection;
};

#endif
